package com.dky.satell.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dky.satell.dto.ResultDto;
import com.dky.satell.entity.RequestMapping;
import com.dky.satell.entity.bo.RequestMappingBO;
import com.github.pagehelper.Page;

/**
 *
 * @author fangyuan
 * @since 2021-06-02
 */
public interface RequestMappingService extends IService<RequestMapping> {

    /**
     * 条件查询
     * @param
     * @return
     */
    Page<RequestMapping> search(Integer pageNum, Integer pageSize, String name);

    /**
     * 新增
     * @param requestMapping
     * @return
     */
    ResultDto insert(RequestMapping requestMapping);

    /**
     * 编辑
     * @param ontologyDTO
     * @return
     */
    ResultDto update(RequestMapping ontologyDTO);


    /**
     * 根据id删除
     * @param id
     * @return
     */
    void delete(Integer id);



}
